package shejimoshi.danlimoshi;

public class client {
    public static void main(String[] args) {
        Single s1 = Single.getInstance();
        System.out.println("饿汉式单例创建成功");

        SingleLazy s2 = SingleLazy.getInstance();
        System.out.println("懒汉式单例创建成功");
    }


}
